package com.cloud.base.client.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cloud.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 系统用户-登录账号
 *
 * @author wwkk
 * @date 2019-07-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_user_account")
@ApiModel(value="BaseUserAccount对象", description="系统用户-登录账号")
public class BaseUserAccount extends AbstractEntity {

private static final long serialVersionUID=1L;

    @TableId(value = "account_id", type = IdType.ID_WORKER)
    private Long accountId;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "标识：手机号、邮箱、 用户名、或第三方应用的唯一标识")
    private String account;

    @ApiModelProperty(value = "密码凭证：站内的保存密码、站外的不保存或保存token）")
    private String password;

    @ApiModelProperty(value = "登录类型:password-密码、mobile-手机号、email-邮箱、weixin-微信、weibo-微博、qq-等等")
    private String accountType;

    private String nickName;

    private String avatar;


}
